package kr.co.sdsway2.dao;

import java.util.List;

import kr.co.sdsway2.common.AbstractDAO;
import kr.co.sdsway2.vo.AvatarInfVO;

import org.springframework.stereotype.Repository;

@Repository
public class SampleDAO extends AbstractDAO {
	
	@SuppressWarnings("unchecked")
	public List<AvatarInfVO> getAvatarInfList() {
		List<AvatarInfVO> avatars = getSqlMapClientTemplate().queryForList("getAvatarInfList");
		return avatars;
	}
	
	public AvatarInfVO getAvatar(AvatarInfVO inVO) {
		return (AvatarInfVO)getSqlMapClientTemplate().queryForObject("getAvatarInf", inVO);
	}
}
